/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "学生分数",TableName = "Stud_grade")]
    public class Stud_grade:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="stud_grade_id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int stud_grade_id { get; set; }

       /// <summary>
       ///学生编号
       /// </summary>
       [Display(Name ="学生编号")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int stud_id { get; set; }

       /// <summary>
       ///课程名称
       /// </summary>
       [Display(Name ="课程名称")]
       [MaxLength(20)]
       [Column(TypeName="nchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string class_name { get; set; }

       /// <summary>
       ///分数
       /// </summary>
       [Display(Name ="分数")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int grade { get; set; }

       /// <summary>
       ///试卷附件
       /// </summary>
       [Display(Name ="试卷附件")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string fujian { get; set; }

       
    }
}